class BannerModel {
  String adUrl;
  String adHref;

  BannerModel({this.adUrl, this.adHref});

  BannerModel.fromJson(Map<String, dynamic> json) {
    adUrl = json['ad_url'];
    adHref = json['ad_href'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['ad_url'] = this.adUrl;
    data['ad_href'] = this.adHref;
    return data;
  }
}